home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 3: The Continuation / 17-Bit_The_Continuation_Disc.iso / amigan / amigan 20 / syscheck / syscheck.doc < prev    next >
Encoding:
Text File  |  1994-01-27  |  7.2 KB  |  155 lines

  1. SysCheck                            Jim Butterfield
  2. Checks your boot disk, libraries          22-Aug-88
  3.  
  4. [Note: The SYSCHECK program enclosed is dated 14 Oct 1988 and
  5. handles the final, issued version of V1.3 Workbench. Dick Barnes]
  6.  
  7. So there's a new operating system, Workbench 1.3, and you want
  8. to bring some of your working programs into the new system.
  9.  
  10. So you run through the docs, copying in the updated commands,
  11. libraries and what-have-you.  It's a dirty job, but somebody's
  12. got to do it.  Which commands and other files need updating?
  13. Can't do a straight backup or global copy ... to make room on
  14. working disks, you've had to slice out the unwanted stuff ...
  15. maybe fonts, or the voice-related stuff (narrator, translator).
  16.  
  17. To help matters along, there are new commands, libraries and
  18. stuff (such as FF, or NEWCON-HANDLER) that you need to add.
  19.  
  20. SYSCHECK doesn't help you a bit with this dreary job.  But it
  21. might help you check .. to review whether everything is up to
  22. date, and that the things you left off are MEANT to be left off.
  23.  
  24.  
  25. SYSCHECK looks through your system libraries, and checks to see
  26. if each item on its list of 96 files is either:
  27.  
  28.     --Right there and current version (Yay!!!);
  29.     --Missing (OK, if that's what you intended);
  30.     --Not the "current" version (look out!).
  31.  
  32. Use CLI to call SYSCHECK.  SysCheck is writ in Assembler, and
  33. is pure (Pure what?) so you can make it resident and check four
  34. disks at a time.  If desired.   Syntax:  SysCheck (<device>)
  35.  
  36. Examples:  SysCheck            scans current directory
  37.            SysCheck DF0:       scans DF0:
  38.            SysCheck RAM:       ..huh?
  39.  
  40.               ..well, OK on that last one if you REALLY put your
  41. system in RAM: .. but mostly folks would get a lot of MISSING
  42. messages on that one.
  43.  
  44.    And of course, you could use DF1: or hard disk or whatever
  45. your finanaces or fairy godmother have provided.
  46.  
  47. Output goes to the screen.  Use redirection if you want it to go
  48. elsewhere, e.g.:
  49.           SysCheck >ram:SCFile df1:
  50.                  You get two reports .. one, as it's going through
  51. the files (alphabetic order, more or less).  This part goes to a
  52. CON: screen, and won't be redirected.  Then you'll get the results:
  53. separate lists of the three categories.
  54.  
  55. Let's look at the three possibilities:
  56.     --Right there and current version (Yay!!!).  The file matches
  57. the one the program knows.  It could be a brand new 1.3 version;
  58. it might be unchanged since 1.0 (not too many of those around).
  59. In any case, it's up to date as far as SYSCHECK is concerned.
  60.     --Missing (OK, if that's what you intended).  Everybody strips
  61. away the files they don't plan to use.  If you know why this file
  62. is missing, rest easy.  If you missed it due to an oversight, copy
  63. it over.  If it's "new for 1.3", decide if you need it.
  64.     --Not the "current" version (look out!).  Maybe it's an old
  65. version, and you should have updated it.  Maybe it's so brand-new
  66. that this program hasn't heard about it.  Or.. it could be a
  67. "poisoned" file.  Do you know where your disk has been?
  68.  
  69. Uses of SYSCHECK:
  70.  --checking that a system you've just updated to 1.3 is OK.
  71.  --examining a 1.2 disk, not because you care, but because you're
  72. curious as to what has changed.
  73.  --looking at a "foreign" disk - one you've just received from
  74. someone else - to see if the libraries are up to date.
  75.  --examining new Commodore releases to see if they have slipped
  76. in any changes, and where.
  77.  
  78. What is Checked:
  79.    Almost everything in the C directory.  Most of L and LIBS, and
  80. some items from SYSTEM and UTILITIES.
  81.  
  82. What is Not Checked:
  83.    Things that are often customized, such as FONTS, DEVS and S
  84. scripts.  I'm leaving PREFERENCES alone, too, together with the
  85. SYSTEM-CONFIGURATION file.  No point in getting Change messages
  86. when changes will be commonplace and unimportant.
  87.    Watch the "version" title.  Commodore may change things, and the
  88. new versions won't be recognized until SysCheck is updated.
  89.    SYSCHECK does not examine the boot block area.
  90.  
  91. Computer Vandalism?
  92.    Hopefully, you know now about nerds who vandalize computers
  93. with viruses (virii?) and other horrors.  And you know to use
  94. utilties such as VCheck1.9 to check whether your disks have been
  95. subjected to such brainless damage.  Such damage takes place in
  96. the "boot block".  SYSCHECK will not spot any changes there;
  97. use a good virus checker.
  98.    Seems to me that the next attack of the mutants could be by
  99. changing the CLI commands or the libraries.  It would not take
  100. much brains - only a level of sociopathy - to replace, say, the
  101. DIR command with a "sport" that will delete every tenth file,
  102. and that will copy itself into any new C directory it finds.
  103.    In spotting changes in the system directories, SYSCHECK will
  104. help guard against such practices.  They would be nasty enough
  105. on floppies .. but a hard disk system could be seriously harmed
  106. by such file-fiddling.
  107.    DO look through files such as your S/Startup-Sequence to make
  108. sure you know what all the commands in there are supposed to be
  109. doing.  It would be possible for one of the great Brain-Damaged
  110. to slip something nasty in there.
  111.  
  112.  
  113. On the Brighter Side...
  114.    SYSCHECK is not intended primarily as a doomsday-detector.
  115. It is there mostly to help you keep things up to date...
  116.  ...until SYSCHECK itself goes out of date by being succeeded by
  117. revised libraries.
  118.  
  119. The 1.3 Update...
  120.    So you've gotten the 1.3 system, and are ready to bring your
  121. software into the current generation.  Good for you.  The following
  122. descriptions use the new 1.3 commands, and assume drive DF1:
  123. contains the disk you're checking.  Best to boot up
  124. on Workbench 1.3 (a backup, please!), and then command:
  125. RESIDENT C:INSTALL (and ...C:INFO and ...C:COPY and ...C:DIR and
  126. even ...SysCheck/SysCheck).
  127.    Test your working disk, the one you're about to upgrade, with
  128. INSTALL DF0: CHECK.  A report of a "non-standard boot" indicates
  129. that it's either copy-protected or has acquired a virus; ask for
  130. help on these.  Otherwise, make a backup of this disk.  Now run a
  131. directory of this disk.  Use INFO to see how full the disk is.
  132. Many commercial disks are jammed full, and the new 1.3 files will
  133. often be bigger than the old ones.  You could run out of space
  134. on the upgraded disk; plan for this possibility.
  135.  
  136.    Run SYSCHECK and update anything marked NOT CURRENT VERSION.
  137. Use the CLONE feature of COPY (new for 1.3) when you do this.
  138. If the disk is nearly full, think of what might be removed:
  139. for example, if this program group doesn't speak, you won't need
  140. LIBS:TRANSLATOR.LIBRARY or L:SPEAK-HANDLER.  If you don't use
  141. fonts, you may be able to junk that whole library, along with
  142. LIBS:DISKFONT.LIBRARY.  Go through the DEVS:PRINTERS libraries
  143. and throw out the printer drivers you don't use (important:  be
  144. sure to update the ones you DO use from the 1.3 disk).
  145.  
  146.    Another run of SYSCHECK will show all files current, but some
  147. MISSING.  Here's where you have to make hard system decisions.
  148. If you use CLI, be sure to add L:NEWCON-HANDLER and L:SHELL-SEG,
  149. along with C:NEWSHELL and S:SHELL-STARTUP.  While we're in S:
  150. let's look at the Startup-Sequence:  as a minimum, you should
  151. add the new 1.3 title to your existing file.  Snoop the new
  152. Startup-Sequence file for thoughts on further updates; you'll
  153. see that this file has split into two (the second called StartupII).
  154. Use what seems sensible.
  155.